Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature search functionality #119

Merged
merged 3 commits into from
May 3, 2024
Merged

Feature search functionality #119

merged 3 commits into from
May 3, 2024

Conversation

nexmoe
Copy link
Owner

@nexmoe nexmoe commented May 3, 2024

No description provided.

nexmoe added 3 commits May 3, 2024 11:39
Added search functionality to the search page allowing users to search for modules based on title or content. Also, implemented a new API endpoint for searching modules by query.
Refactor search functionality in `pages/search.vue` to include asynchronous search
operation and loading indicator. Add `loading` state to manage search loading
state. Optimize search query handling to only perform search when query value is
not empty. Implement error handling for search operations.

- Modify search form submission to trigger search operation
- Ensure search input field updates query value correctly
- Update conditional rendering of search results based on loading state
- Add `components/public/Loading.vue` component for displaying loading indicator
- Updated search functionality to use async/await for better performance.
- Added loading indicator to show search progress.
- Improved error handling during search.
- Created a loading component for visual feedback.
Copy link

vercel bot commented May 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
roam-space ✅ Ready (Inspect) Visit Preview May 3, 2024 4:03am

@nexmoe nexmoe merged commit 2ea9fac into main May 3, 2024
3 checks passed
@nexmoe nexmoe deleted the feature-search-functionality branch May 3, 2024 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant